package com.jhgsys.internal.accident.service;

import com.jhgsys.internal.accident.entity.HazardExamineAuditRecord;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  Service接口
 *
 * @author zhangwei
 * @date 2024-08-22 17:39:19
 */
public interface IHazardExamineAuditRecordService extends IService<HazardExamineAuditRecord> {
    /**
     * 查询（分页）
     * @author zhangwei
     * @date 2024-08-22 17:39:19
     * @param request QueryRequest
     * @param hazardExamineAuditRecord hazardExamineAuditRecord
     * @return IPage<HazardExamineAuditRecord>
     */
    IPage<HazardExamineAuditRecord> findHazardExamineAuditRecordPage(QueryRequest request, HazardExamineAuditRecord hazardExamineAuditRecord);

    /**
     * 查询（所有）
     * @author zhangwei
     * @date 2024-08-22 17:39:19
     * @param hazardExamineAuditRecord hazardExamineAuditRecord
     * @return List<HazardExamineAuditRecord>
     */
    List<HazardExamineAuditRecord> findHazardExamineAuditRecordList(HazardExamineAuditRecord hazardExamineAuditRecord);

    /**
    * 根据ID查询
    * @author zhangwei
    * @date 2024-08-22 17:39:19
    * @param id
    * @return HazardExamineAuditRecord
    */
    HazardExamineAuditRecord findHazardExamineAuditRecordById(String id);

    /**
     * 新增
     * @author zhangwei
     * @date 2024-08-22 17:39:19
     * @param hazardExamineAuditRecord hazardExamineAuditRecord
     */
    void createHazardExamineAuditRecord(HazardExamineAuditRecord hazardExamineAuditRecord);

    /**
     * 修改
     * @author zhangwei
     * @date 2024-08-22 17:39:19
     * @param hazardExamineAuditRecord hazardExamineAuditRecord
     */
    void updateHazardExamineAuditRecord(HazardExamineAuditRecord hazardExamineAuditRecord);

    /**
     * 逻辑删除
     * @author zhangwei
     * @date 2024-08-22 17:39:19
     * @param hazardExamineAuditRecord hazardExamineAuditRecord
     * @param hazardExamineAuditRecordIds hazardExamineAuditRecordIds
     */
    void deleteHazardExamineAuditRecord(HazardExamineAuditRecord hazardExamineAuditRecord,String hazardExamineAuditRecordIds);

    /**
    * 物理删除
    * @author zhangwei
    * @date 2024-08-22 17:39:19
    * @param hazardExamineAuditRecordIds hazardExamineAuditRecordIds
    */
    void physicallyDeleteHazardExamineAuditRecord(String hazardExamineAuditRecordIds);
}
